package com.saver.modules.sys.dao;

import com.saver.modules.sys.entity.SysUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SysUserDao extends JpaRepository<SysUserEntity, Long> {


    SysUserEntity findByUsername(String username);

    SysUserEntity findByUserId(Long userId);

    SysUserEntity findByUserIdAndPassword(Long userId, String pwd);

}
